﻿@model Edge.IPCameras.IPCamera

<div class="editor-label">
    @Html.LabelFor(model => model.Description)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Description)
    @Html.ValidationMessageFor(model => model.Description)
</div>
    
<div class="editor-label">
    @Html.LabelFor(model => model.Vendor)
</div>
<div class="editor-field">
    @Html.DropDownListFor(model => model.Vendor, Model.Vendor.ToSelectList())
</div>
    
<div class="editor-label">
    @Html.LabelFor(model => model.Host)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Host)
    @Html.ValidationMessageFor(model => model.Host)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Port)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Port)
    @Html.ValidationMessageFor(model => model.Port)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.UseSSL)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.UseSSL)
    @Html.ValidationMessageFor(model => model.UseSSL)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Username)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Username)
    @Html.ValidationMessageFor(model => model.Username)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Password)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Password)
    @Html.ValidationMessageFor(model => model.Password)
</div>